import Layout from '@/layout'

let menuRouter
/**菜单路由*/
menuRouter = [
    {
        path: '',
        component: Layout,
        redirect: '/components/previewImage',
    },
    /** 组件 */
    {
        path: '/components',
        name: 'components',
        component: Layout,
        meta: { title: '首页',icon: 'dashboard'},
        children: [
            {
                path: 'previewImage',
                name: 'previewImage',
                meta: { title: '预览图片'},
                component: () => import("@/views/test"),

            }
        ]
    },

]

export default menuRouter;
